$(document).ready(function(){
	var height=$("#mid").height();
	alert(realHeight);
	if(height<500){
		$("#mid").css('height','auto');
	}
});
